<template>
  <div>
    <!-- 弹窗内的loading提示 -->
    <div class="bgBox" :class="props.noBgSet?'noBgColor':''" >
      <q-circular-progress indeterminate rounded  size="50px" color="primary" class="q-ma-md" />
    </div>
  </div>
</template>

<script setup lang="ts">
import {ref} from 'vue';
const props = defineProps({
  noBgSet: {
    type: Boolean
  }
})


</script>

<style scoped lang="scss">
.bgBox{
  width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(255 255 255 / 60%);
    display: flex;
    top: 0;
    left: 0;
    z-index: 2;
    justify-content: center;
    align-items: center;
}
.noBgColor{
  background: none;
}
</style>
